<div id="content"><?php

$IdPays = $_GET['IdPays'];
$oPDO = new PdoPays();

$pays = $oPDO->readOne($IdPays);


echo "<form id='formulaire' action='index.php?route=pays&action=traitement_modif' method='post'>";

echo "<label>Pays</label>";
echo "<input type='text' name='NOMPAYS' value='" . $pays->getNomPays() . "' />";

echo "<label>Nationalite</label>";
echo "<input type='text' name='NOMNATIONALITE' value='" . $pays->getNomNationalite() . "'/>";


echo "<input type='hidden' name='IDPAYS' value='" . $pays->getIdPays() . "' />";
echo "<input type='submit'  value='Valider'>";

echo "</form>";

echo "<br /><br /><br /><br /><br />";
?>
</div>